﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<KLS.PPDS.Web.Models.StoryboardViewModel>" %>
<%@ Import Namespace="KLS.PPDS.Utility.Extension" %>
<%@ Import Namespace="KLS.PPDS.Resources" %>

<% var pdfSrc = string.Format("/Article/ShowPublicationPdf?publicationId={0}", Model.Publication.Id); %>
<div style="width: 100%; height: 100%; overflow: hidden;">
    <br />
     <b>&nbsp;&nbsp; <%:CommonString.PublicationName %>&nbsp;:&nbsp;<%:Model.Publication.PublicationName %> </b>
     <br />
     <br />
    <% if (Model.HasLayoutPdf)
       { %>
       
    <iframe src="<%=pdfSrc%>#toolbar=0amp;navpanes=0amp;scrollbar=1&amp;view=FitH;statusbar=0&amp;highlight=0,0,0,0&amp;zoom=100%&amp;"
        style="width: 100%; height: 100%;"></iframe>    
    <%}
       else
       { %>
    &nbsp;&nbsp;<%=CommonMessage.LayoutOverviewNotfound %>
    <%} %>
</div>
